import Vue from 'vue'
import App from './App'
/* 全局引入 graceUI request 工具 */
import graceUIRequest from './graceUI/jsTools/request.js'
import myFunction from './common/myFunction.js'
import myWXPay from './common/myWXPay.js'
import AesUtil from './common/AesUtil.js'

Vue.prototype.gRequest = graceUIRequest;
Vue.prototype.$myFunction = myFunction;
Vue.prototype.$myWXPay = myWXPay;
Vue.prototype.$AesUtil = AesUtil;

/* 封装 setData 函数 */
Vue.prototype.setData   = function(data){
	for(let k in data){this[k] = data[k];}
}
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()

// 解决控制台提示：You are running Vue in development mode
Vue.config.productionTip =false;